package Cliente.Modelo;

import java.util.ArrayList;
import java.util.Observable;

/**
 * @author Angel Lopez
 */
public class Game extends Observable{
    private BoardPlaying partida = new BoardPlaying();
    private int id_game;
    private int who_player_iam;
    private int player_turn_before_roll_die;
    private Player player_aux;
    private ArrayList<Player> list_player;
    
    public Game(){
        
    }
    
    public Game(int id_game, int who_player_iam){
        this.id_game = id_game;
        this.who_player_iam = who_player_iam;
        
    }
    
    
    public void notificar_cambio_tablero(BoardPlaying partida_aux){
        partida = partida_aux;
        this.setChanged();
        this.notifyObservers(partida);
    }

    //GETTER HECHO POR JORGE PARA PRUEBAS
    public BoardPlaying getPartida() {
        return partida;
    }
    
    
         
}
